<?php
use app\components\Html;
use app\models\User;
use yii\helpers\Url;
?><div class="fangan">
    <form id="w1" action="<?= Url::to(['/admin/view/userlist']) ?>" method="get">
 
<ul class="topselect">
   
    <li>
            <span class="labT">用户昵称</span><div class="input">
            <input type="text" name="username" value="<?= isset($_GET['username'])?$_GET['username']:'' ?>"></div>
    </li>
    
   
       
    
   <li>
            <span class="labT">角色类型</span><div class="input">
            
            
            <?= Html::dropDownList('role_type',  isset($_GET['role_type'])?$_GET['role_type']:'',[
            ''=>'所有'  
            ]+  User::role_type_array()); ?>
            
            </div>
    </li>
    
     
    
            
</ul>
 
           <?=  Html::button('提交',['type'=>'submit']) ?>
    
    </form>
    
<?php



 echo $html;
 ?></div>
